dnf -y remove kernel-devel gcc make g++ libglvnd-devel
dnf clean all
systemctl disable NetworkManager
systemctl disable firewalld
systemctl enable network
service sshd status
service network status
# 修改网卡配置
cat <<EOF >>/etc/sysconfig/network-scripts/ifcfg-ens7
DEVICE=ens7
TYPE=Ethernet
BOOTPROIO=dhcp
ONBOOT=no
NM_CONTROLLED=no
EOF
